STEP 6: Let's make two dice!

Our variables each need different names. Remember, the variable name is to the word before the equals sign =.

  • In LOGIC, go to and drag in another Random Integer. Drop it at the bottom of your program.
  • Name this new variable roll_2.

Note: You won't see the second random integer on the stage because we haven't added a dice sprite or display.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)